<template>
	<view class="index-page ">
		<view class="page-content ">
			<!-- 个人信息 -->
			<image @click="prviewImg('https://xingangtong.oss-cn-beijing.aliyuncs.com/common/png1.png')"
				src="https://xingangtong.oss-cn-beijing.aliyuncs.com/common/png1.png" mode="widthFix"></image>
			<image @click="prviewImg('https://xingangtong.oss-cn-beijing.aliyuncs.com/common/png2.png')"
				src="https://xingangtong.oss-cn-beijing.aliyuncs.com/common/png2.png" mode="widthFix"></image>
			<image @click="prviewImg('https://xingangtong.oss-cn-beijing.aliyuncs.com/common/png3.png')"
				src="https://xingangtong.oss-cn-beijing.aliyuncs.com/common/png3.png" mode="widthFix"></image>
			<image @click="prviewImg('https://xingangtong.oss-cn-beijing.aliyuncs.com/common/png4.png')"
				src="https://xingangtong.oss-cn-beijing.aliyuncs.com/common/png4.png" mode="widthFix"></image>


		</view>
	</view>
</template>

<script>
export default {

	data() {
		return {
			baseUrl: getApp().globalData.baseUrl,

		};
	},
	computed: {
		userInfo() {
			return this.$store.getters.userInfo || {};
		},
	},
	async onLoad() {

	},
	async onShow() {
		// await this.getUserInfo()
	},
	mounted() {


	},
	methods: {
		prviewImg(curUrl) {
			uni.previewImage({
				current: curUrl, // 当前显示图片的http链接
				urls: ['https://xingangtong.oss-cn-beijing.aliyuncs.com/common/png1.png', 'https://xingangtong.oss-cn-beijing.aliyuncs.com/common/png2.png', 'https://xingangtong.oss-cn-beijing.aliyuncs.com/common/png3.png', 'https://xingangtong.oss-cn-beijing.aliyuncs.com/common/png4.png'] // 需要预览的图片http链接列表
			});
		}

	},
};
</script>

<style lang="less" scoped>
.page-content {
	image {
		width: 100%;
	}
}
</style>
